Skip to main content

dragImageOffset

Type

property

Summary

Specifies the placement of the drag image when dragging an object.

Syntax

set the dragImageOffset to <horizontalDistance>, <verticalDistance>
get the dragImageOffset

Description

Use the dragImageOffset property to specify the offset from the top-left of the drag image at which the mouse pointer will be located during dragging.

Examples

set the dragImageOffset to 12,10
set the dragImageOffset to \
(0.5 * the width of image "Drag Image"), \
(0.5 * the height of image "Drag Image")

message: dragStart, dragDrop

property: dragDelta, dragImage

Compatibility and Support

Introduced

LiveCode 2.9

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?